#direct_booking_form
  = simple_form_for @direct_booking, :as => :direct_booking, :url => direct_bookings_path, :remote => true do |booking|
    = booking.hidden_field :title
    = booking.hidden_field :debit_account_id
    = booking.hidden_field :credit_account_id
    = booking.hidden_field :reference_id
    = booking.hidden_field :reference_type
    = booking.text_field :value_date, :style => 'width: 12em', "data-autofocus" => true
    Betrag: #{booking.text_field :amount, :style => 'width: 6em'}
    Text: #{booking.text_field :comments, :style => 'width: 26em'}
    \#{booking.submit "Buchen"}
